<admintpl file="header" />
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li class="active"><a>第三方支付平台</a></li>
	</ul>
	<form method="post" class="js-ajax-form">
		<table class="table table-hover table-bordered" style="width: 600px">
			<thead>
			<tr>
				<th style="text-align: center">id</th>
				<th style="text-align: center">平台名称</th>
				<th style="text-align: center">状态</th>
				<th style="text-align: center">操作</th>
			</tr>
			</thead>
			<foreach name="data" item="v">
				<tr>
				<td style="text-align: center">{$v.id}</td>
					<td style="text-align: center">{$v.name}</td>
					<td style="text-align: center"><if condition="$v.status eq 1">开启<else />禁用</if></td>
					<td style="text-align: center">
						<if condition="$v.status eq 1">
						<a href="{:U('Order/status_set',array('id'=>$v['id'],'status'=>0))}">禁用</a>
						<else />
						<a href="{:U('Order/status_set',array('id'=>$v['id'],'status'=>1))}">开启</a>
						</if>
					</td>
				</tr>
			</foreach>
		</table><br/>
	</form>
<script src="__PUBLIC__/js/common.js"></script>
</div>
</body>
</html>